Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support four-value syntax for CSS hex color #207

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

silverwind
Copy link
Contributor

@silverwind silverwind commented Mar 31, 2024

Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color

#RGB // The three-value syntax
#RGBA // The four-value syntax
#RRGGBB // The six-value syntax
#RRGGBBAA // The eight-value syntax

@FiloSottile
Copy link
Contributor

Thank you for including a test and a spec reference!

@FiloSottile FiloSottile merged commit 5703ea6 into microcosm-cc:main Jul 4, 2024
7 checks passed
@silverwind silverwind deleted the 4hex branch July 4, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants